<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script>
			function showTitle(){
				window.document.title=window.prompt("请输入标题：");
				alert(document.referrer);
				alert("最后修改时间："+document.lastModified);
				alert(document.URL);
				//>>>document.URL="https://www.baidu.com";
			}
		</script>
	</head>
	<body>
		<input type="button" value="修改标题" onclick="showTitle()"/>
	</body>
</html>